import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

//导入插件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//导入样式
import '@/assets/global.less';

//配置请求根路径
axios.defaults.baseURL = 'http://www.liulongbin.top:3008'
//挂载Vue.prototype 上
Vue.prototype.$http = axios
//配置插件
Vue.use(ElementUI);
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
